Skip to main content

Rekognition Webhook

POST /webhooks/rekognition

Description

Receives AWS SNS messages for media moderation jobs.

This endpoint expects a raw text body and uses the x-amz-sns-message-type header to handle subscription confirmations and moderation result notifications.

Request Parameters

Requires Authentication: false

HEADERS

NameTypeRequiredDescription
x-amz-sns-message-typestringYesSNS message type such as SubscriptionConfirmation or Notification.

BODY

The request body is plain text containing a JSON-encoded SNS payload.

Success Response

SNS confirmed

or

Handled video moderation result

Error Response

CodeDescription
400Invalid SNS message
500Webhook processing error